Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

fix website search result 404s #12414

Merged
merged 1 commit into from
Aug 31, 2018
Merged

Conversation

aaronmarkham
Copy link
Contributor

Description

Currently the site will return a few results then the rest will have previews that show 404 messaging. The _sources directory has just .md.txt files in it but the customsearch.js was looking for .txt files.
This patch fixes the js to look for what's actually there. The previews aren't the best because sometimes there's rst at the top, but this is much better than showing a 404 message.

2018-08-30_11-11-40

Now you get:
2018-08-30_11-11-54

@nswamy nswamy merged commit 3fb7ab5 into apache:master Aug 31, 2018
aaronmarkham added a commit to aaronmarkham/incubator-mxnet that referenced this pull request Sep 11, 2018
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants